package com.by.service.impl;

import com.by.bean.Horder;
import com.by.bean.Porder;
import com.by.mapper.HorderMapper;
import com.by.service.HorderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class HorderServiceImpl implements HorderService {
    @Autowired
    HorderMapper horderMapper;
    @Override
    public int save(Horder order) {
        return horderMapper.save(order);
    }

    @Override
    public List query(Horder order) {
        return horderMapper.query(order);
    }

    @Override
    public int hUpdateStatus(Horder order) {
        return horderMapper.hUpdateStatus(order);
    }

}
